package com.yfp.client.service.impl;

import com.yfp.client.domain.MarActivityClient;
import com.yfp.client.mapper.MarActivityClientMapper;
import com.yfp.client.service.MarActivityClientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 客户参加活动
 *
 * @CreateDate: 2024/7/23 20:09
 * @UpdateUser:
 * @UpdateDate: 2024/7/23 20:09
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Service
public class MarActivityClientServiceImpl implements MarActivityClientService {
    @Autowired
    private MarActivityClientMapper marActivityClientMapper;

    @Override
    public void add(MarActivityClient marActivityClient) {
        marActivityClientMapper.insert(marActivityClient);
    }

    @Override
    public int count(MarActivityClient marActivityClient) {
        return marActivityClientMapper.count(marActivityClient);
    }
}
